<%@ Page Language="C#" MasterPageFile="~/ArkhamBooks.master" AutoEventWireup="true" CodeFile="SelectByType.aspx.cs" Inherits="SelectByType" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<h1>Select book title by type</h1>
<asp:Label ID="dbErrorLabel" ForeColor="red" runat="server" />
<p>Select a genre:<br />
<asp:DropDownList ID="genreList" runat="server" AppendDataBoundItems="true" >
<asp:ListItem Text="Select One" Value="" />
</asp:DropDownList>
<asp:Button ID="selectButton" Text="Select" runat="server" OnClick="selectButton_Click" />
</p>
<p>Select a title:<br />
<asp:DropDownList ID="titleList" runat="server" >
<asp:ListItem Text="No titles for this genre" Value="" />
</asp:DropDownList>
<asp:Button ID="viewButton" Text="View Info" runat="server" OnClick="viewButton_Click" />
</p>
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
<p>
<asp:Label ID="isbnLabel" runat="server" Text="Isbn:" Width="100" />
<asp:TextBox ID="isbnTextBox" runat="server" />
</p>
<p>
<asp:Label ID="pubLabel" runat="server" Text="Publisher:" Width="100" />
<asp:TextBox ID="pubTextBox" runat="server" />
</p>
<p>
<asp:Label ID="authorLabel" runat="server" Text="Author:" Width="100" />
<asp:TextBox ID="authTextBox" runat="server" />
</p>
<p>
<asp:Label ID="costLabel" runat="server" Text="Cost:" Width="100" />
<asp:TextBox ID="costTextBox" runat="server" />
</p>
<p>
<asp:Label ID="sellingLabel" runat="server" Text="Selling Price:" Width="100" />
<asp:TextBox ID="sellingTextBox" runat="server" />
</p>
<p>
<asp:Label ID="qtyLabel" runat="server" Text="Quantity on hand:" Width="100" />
<asp:TextBox ID="qtyTextBox" runat="server" />
</p>
</asp:Content>

